"""
development means log the process of the function
"""
# DEV_ENV = False
DEV_ENV = True


# 从文件读取包含html的txt文件
def LoadFile(txtFileName):
    with open(txtFileName, 'br') as f3:
        htmlContent = f3.read().decode('utf8')
        f3.close()
        return htmlContent


# 写入html的内容到txt文件
def WriteFile(content, txtFileName):
    with open(str(txtFileName), 'w+', encoding="utf-8") as file:
        file.write(content)
        file.close()
